package Dominio;

import hbt.PersistentObject;

import javax.persistence.*;

import dto.FormaPagoTO;

@Entity
@Table(name = "formas_pago")
@Inheritance(strategy=InheritanceType.JOINED)
public class FormaPago extends PersistentObject{
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	private String formaDePago;
	
	public FormaPagoTO toTO(){
		FormaPagoTO formaPagoTO = new FormaPagoTO(this.formaDePago);
		return formaPagoTO;
	}

	public String getFormaDePago() {
		return formaDePago;
	}

	public void setFormaDePago(String formaDePago) {
		this.formaDePago = formaDePago;
	}
	
}